package top.infopub.job.ic.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.ic.dao.BuildSubDao;
import top.infopub.job.ic.domain.BuildSubDomain;
import top.infopub.model.ic.BuildSub;
import top.infopub.job.ic.service.BuildSubService;

@Service
public class BuildSubServiceImpl extends GenericServiceImpl<BuildSub, String> implements
		BuildSubService {

	@Autowired
	private BuildSubDao buildSubDao;
	
	@Override
	public GenericDao<BuildSub, String> getDao() {
		return buildSubDao;
	}

    @Override
    public BuildSubDomain selectBuildAllByProCode(String proCode) {
        return buildSubDao.selectBuildAllByProCode(proCode);
    }

}